\hypertarget{class_async_result_effect_state}{
\section{AsyncResultEffectState$<$ Result $>$ Class Template Reference}
\label{class_async_result_effect_state}\index{AsyncResultEffectState@{AsyncResultEffectState}}
}


{\ttfamily \#include $<$AsyncResultEffectState.hpp$>$}

Inheritance diagram for AsyncResultEffectState$<$ Result $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_async_result_effect_state}
\end{center}
\end{figure}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_async_result_effect_state_a20cd45a1f733a596d79273ebc6dfd7fb}{
void {\bfseries SetStartState} (\hyperlink{class_async_result_start_state}{AsyncResultStartState}$<$ Result $>$ \&startState)}
\label{class_async_result_effect_state_a20cd45a1f733a596d79273ebc6dfd7fb}

\item 
void \hyperlink{class_async_result_effect_state_a067e3c72f923a566bc32e8bdf94b76e9}{AddResultDoneCodeMapping} (Result result, \hyperlink{class_state_done_code}{StateDoneCode} doneCode)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Result$>$class AsyncResultEffectState$<$ Result $>$}

The \hyperlink{class_async_result_start_state}{AsyncResultStartState} class is a state that starts and finishes an async operation that uses an \hyperlink{class_async_result}{AsyncResult}.

This class is untested. 

\subsection{Member Function Documentation}
\hypertarget{class_async_result_effect_state_a067e3c72f923a566bc32e8bdf94b76e9}{
\index{AsyncResultEffectState@{AsyncResultEffectState}!AddResultDoneCodeMapping@{AddResultDoneCodeMapping}}
\index{AddResultDoneCodeMapping@{AddResultDoneCodeMapping}!AsyncResultEffectState@{AsyncResultEffectState}}
\subsubsection[{AddResultDoneCodeMapping}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Result$>$ void {\bf AsyncResultEffectState}$<$ Result $>$::AddResultDoneCodeMapping (
\begin{DoxyParamCaption}
\item[{Result}]{result, }
\item[{{\bf StateDoneCode}}]{doneCode}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, protected\mbox{]}}}}
\label{class_async_result_effect_state_a067e3c72f923a566bc32e8bdf94b76e9}
Adds a mapping to map a result from the async operation to a \hyperlink{class_state_done_code}{StateDoneCode}.


\begin{DoxyParams}{Parameters}
{\em result} & The result to map from. \\
\hline
{\em doneCode} & The \hyperlink{class_state_done_code}{StateDoneCode} to transition to. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
C:/Documents and Settings/Sam/My Documents/My Projects/Entech-\/Fpk/Entech-\/Fpk/AsyncResultEffectState.hpp\end{DoxyCompactItemize}
